
import Client from './common'
//监听好友系统通知函数对象
let onFriendSystemNotifys = {
  //"1": onFriendAddNotify, //好友表增加
  //"2": onFriendDeleteNotify, //好友表删除
  "3":onPendencyAddNotify //未决增加
  //"4": onPendencyDeleteNotify, //未决删除
  //"5": onBlackListAddNotify, //黑名单增加
  //"6": onBlackListDeleteNotify //黑名单删除
};
//未决增加
function onPendencyAddNotify(notify) {
  console.log('好友回调',notify);
  Client.listen.onPendencyAddNotify = notify;
}

const friendListen = {
  onFriendSystemNotifys
}
export default friendListen